package com.wn.handler;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * @author yellow Docter
 * @date 2024-08-13
 * @desc 蜗牛创想：www.woniuxy.com
 */
@Component
public class MyHandler {

    @XxlJob("myJobHandler")
    public void myJobHandler() throws Exception {
        System.out.println("这里是执行器-我自己的-------->" + LocalDateTime.now());
    }

}
